package tables

import (
	"time"
)

type YogaMyCourse struct {
	Id                int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	ClassId           int       `xorm:"" json:"class_id" form:"class_id" mapstructure:"class_id"`
	Cover             string    `xorm:"" json:"cover" form:"cover" mapstructure:"cover"`
	OrderNo           string    `xorm:"" json:"order_no" form:"order_no" mapstructure:"order_no"`
	Title             string    `xorm:"" json:"title" form:"title" mapstructure:"title"`
	Content           string    `xorm:"" json:"content" form:"content" mapstructure:"content"`
	TotalAmount       string    `xorm:"" json:"total_amount" form:"total_amount" mapstructure:"total_amount"`
	CreatedAt         time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt         time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt         time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	AppointmentStatus int       `xorm:"" json:"appointment_status" form:"appointment_status" mapstructure:"appointment_status"`
	UserId            int       `xorm:"" json:"user_id" form:"user_id" mapstructure:"user_id"`
	SignType          int       `xorm:"" json:"sign_type" form:"sign_type" mapstructure:"sign_type"`
	StartTime         int64     `xorm:"" json:"start_time" form:"start_time" mapstructure:"start_time"`
	EndTime           int64     `xorm:"" json:"end_time" form:"end_time" mapstructure:"end_time"`
	SubMchId          string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
	State             int       `xorm:"" json:"state" form:"state" mapstructure:"state"`
}
